package com.ctshk.rpc.payment.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @BelongsProject: ctshk-cloud
 * @BelongsPackage: com.ctshk.rpc.payment.req
 * @Author: hef
 * @CreateTime: 2021-04-20 17:25
 * @Description: 描述
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "CallPayReq对象", description = "唤起支付Req对象")
public class CallPayReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID", required = true)
    private Long id;

    @NotNull(message = "业务类型ID不能为空")
    @ApiModelProperty(value = "业务类型ID,枚举SystemBusinessType", required = true)
    private Integer businessTypeId;

    @NotNull(message = "收款方式不能为空")
    @ApiModelProperty(value = "收款方式，枚举PaymentMethod的Code", required = true)
    private Integer paymentMethodCode;

}
